home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ABUSESRC.ZIP
/
AbuseSrc
/
abuse
/
net
/
nstruct.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
1995-09-15
|
416b
|
23 lines
#define MAX_PLAYERS 50
#define PLAYER_INPUT_SIZE 10
enum { PLAYER_FREE,
PLAYER_CONNECTED,
PLAYER_DISCONNECTED } ; // server shold set to PLAYER_FREE after netdriver sets to disconnect
#define NET_FLAG_RUNNING 1
#define NET_FLAG_LOCK_ENTRIES 2
struct net_struct
{
char server_flags;
char driver_flags;
unsigned char player_status[MAX_PLAYERS];
}